package com.dgut.service;

import com.dgut.pojo.Record;

import java.util.List;

public interface RecordService {
    void savaRecord(Record r);
    List<Record> findRecordById(Long id);
    Record findTodayRecordById(Long id);
    Record findLastDayRecordById(Long id);
    void cleanRecordCache();
    Record findNewestRecordById(Long id);
}
